package com.joe.runaway.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {

    @GetMapping("/")
    public String index() {
        return "chat"; // 返回与templates目录下文件名匹配的视图名
    }
}

